window.onload = function() {

	var iWidth = document.documentElement.clientWidth;
	var iHeight = document.documentElement.clientHeight;

	alert(iWidth);
	alert(iHeight);
};
